<?php
require '../include/library.inc.php';



if($_POST['category'] && $_POST['index'])
{

	$sql = "SELECT * FROM price_list
WHERE country LIKE '".escape($_POST['index'])."%' AND category = '".escape($_POST['category'])."' ";

	$result = query($sql);
	while($row = mysql_fetch_object($result)){
		echo '<li class="cf">
				  <div class="pl-table-left">'.$row->country.'</div>
				  <div class="pl-table-right">'.$row->price.'</div>
			  </li>';
	}

    
}



?>